#ifndef _QUEUED_H_
#define _QUEUED_H_

#include "queue.h"

int switch_user();

int process_mutex_lock();
int process_mutex_unlock();

void queue_init(const char* config, int is_mutex, int is_debug);
void queue_fini(int is_mutex);

void queue_start();
void queue_stop ();

void console();

void command_pal(Command cmd);

#endif //QUEUED
